﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.Runtime.Serialization;

namespace PlanningGIS.ArcGIS
{
    /// <summary>
    /// 定位类型
    /// </summary>
    [Description("定位类型")]
    public enum zjgisZoomType
    {
        /// <summary>
        /// 平移
        /// </summary>
        [Description("平移")]
        PanTo,
        /// <summary>
        /// 缩放
        /// </summary>
        [Description("缩放")]
        ZoomTo,
        /// <summary>
        /// 闪烁
        /// </summary>
        [Description("闪烁")]
        Flash
    }

    /// <summary>
    /// 图层数据类型
    /// </summary>
    [Flags]
    [Description("图层数据类型")]
    public enum zjgisFeatureType : int
    {
        /// <summary>
        /// 空
        /// </summary>
        [Description("空")]
        Null = 0,
        /// <summary>
        /// 图层组
        /// </summary>
        [Description("图层组")]
        Group = 1,
        /// <summary>
        /// 矢量数据
        /// </summary>
        [Description("矢量数据")]
        Vector = 2,
        /// <summary>
        /// 栅格数据
        /// </summary>
        [Description("栅格数据")]
        Raster = 4,
        /// <summary>
        /// Cad数据
        /// </summary>
        [Description("Cad数据")]
        Cad = 8,
        /// <summary>
        /// 激光雷达数据
        /// </summary>
        [Description("激光雷达数据")]
        LasDataset = 16,
        /// <summary>
        /// 所有类型
        /// </summary>
        [Description("所有类型")]
        All = 255
    }

    /// <summary>
    /// 图层的几何类型
    /// </summary>
    [Flags]
    [Description("图层的几何类型")]
    public enum zjgisShapeType : int
    {
        /// <summary>
        /// 空
        /// </summary>
        [Description("空")]
        Null = 0,
        /// <summary>
        /// 注记
        /// </summary>
        [Description("注记")]
        Annotate = 1,
        /// <summary>
        /// 点
        /// </summary>
        [Description("点")]
        Point = 2,
        /// <summary>
        /// 线
        /// </summary>
        [Description("线")]
        Line = 4,
        /// <summary>
        /// 面
        /// </summary>
        [Description("面")]
        Polygon = 8,
        /// <summary>
        /// 多面体
        /// </summary>
        [Description("多面体")]
        MultiPatch = 16,
        /// <summary>
        /// 所有类型
        /// </summary>
        [Description("所有类型")]
        All = 255
    }

    /// <summary>
    /// 空间坐标
    /// </summary>
    [Description("空间坐标")]
    public enum zjgisSpatialReference : int
    {
        /// <summary>
        /// 地理坐标
        /// </summary>
        [Description("地理坐标")]
        Geographic = 0,
        /// <summary>
        /// 投影坐标
        /// </summary>
        [Description("投影坐标")]
        Projected = 1
    }
    
    /// <summary>
    /// 作用：工作空间类型
    /// </summary>
    [Description("工作空间类型")]
    public enum zjgisWorkspaceType
    {
        /// <summary>
        /// sde
        /// </summary>
        [Description("sde")]
        sde = 0,
        /// <summary>
        /// shapefile
        /// </summary>
        [Description("shapefile")]
        shp = 1,
        /// <summary>
        /// personal geodatabase 
        /// </summary>
        [Description("personal geodatabase ")]
        mdb = 2,
        /// <summary>
        /// file geodatabase 
        /// </summary>
        [Description("file geodatabase ")]
        gdb = 3,
        /// <summary>
        /// CAD
        /// </summary>
        [Description("CAD")]
        cad,
        /// <summary>
        /// 栅格数据
        /// </summary>
        [Description("栅格数据")]
        raster,
        /// <summary>
        /// excel
        /// </summary>
        [Description("excel")]
        xls,
        /// <summary>
        /// 目录
        /// </summary>
        [Description("目录")]
        dir,
        /// <summary>
        /// 文本
        /// </summary>
        [Description("文本")]
        txt,
        /// <summary>
        /// lyr图层
        /// </summary>
        [Description("lyr图层")]
        lyr,
        /// <summary>
        /// 未知
        /// </summary>
        [Description("未知")]
        unknow,
    }

    /// <summary>
    /// 符号库类型
    /// </summary>
    [Description("符号库类型")]
    public enum zjgisStyleGalleryType
    {
        /// <summary>
        /// 点符号
        /// </summary>
        [Description("Marker Symbols")]
        MarkerSymbols,
        /// <summary>
        /// 线符号
        /// </summary>
        [Description("Line Symbols")]
        LineSymbols,
        /// <summary>
        /// 文本符号
        /// </summary>
        [Description("Text Symbols")]
        TextSymbols,
        /// <summary>
        /// 面符号
        /// </summary>
        [Description("Fill Symbols")]
        FillSymbols,
        /// <summary>
        /// 颜色
        /// </summary>
        [Description("Colors")]
        Colors,
        /// <summary>
        /// 边线
        /// </summary>
        [Description("Borders")]
        Borders,
        /// <summary>
        /// 阴影
        /// </summary>
        [Description("Shadows")]
        Shadows,
        /// <summary>
        /// 背景色
        /// </summary>
        [Description("Backgrounds")]
        Backgrounds,
        /// <summary>
        /// 
        /// </summary>
        [Description("Legend Items")]
        LegendItems,
        /// <summary>
        /// 
        /// </summary>
        [Description("North Arrows")]
        NorthArrows,
        /// <summary>
        /// 
        /// </summary>
        [Description("Scale Bars")]
        ScaleBars,
        /// <summary>
        /// 
        /// </summary>
        [Description("Scale Texts")]
        ScaleTexts,
        /// <summary>
        /// 
        /// </summary>
        [Description("Labels")]
        Labels,
        /// <summary>
        /// 
        /// </summary>
        [Description("Area Patches")]
        AreaPatches,
        /// <summary>
        /// 
        /// </summary>
        [Description("Color Ramps")]
        ColorRamps
    }

}
